<?
		include_once(  "servicio_00.php" );
	// Get Data
		$nPos = strpos($this->aDatos[$cTemplateId][cSql], "FROM" );
		$this->aDatos[$cTemplateId][cSql] = substr( $this->aDatos[$cTemplateId][cSql], 0, $nPos -1)  . ", Est.cdEstablecimiento " . substr( $this->aDatos[$cTemplateId][cSql], $nPos );
		$oRecordset = $this->oDatabase->recordset($this->aDatos[$cTemplateId][cSql],0 ,10);
		while ( $oRecordset->moveNext() )
		{
			echo  $oRecordset->aFields[cdEstablecimiento]. "\n";
		}
?>
